import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import router from './router'
import lottie from 'vue-lottie';
import axios from 'axios'
import 'xe-utils'
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'
import 'element-ui/lib/theme-chalk/index.css';




Vue.config.productionTip = false
//配置全局axios
Vue.prototype.$axios = axios
//全局url
Vue.prototype.baseURL='http://localhost:8081';
//引入注册element-ui
Vue.use(ElementUI);
//注册VXETable
Vue.use(VXETable)
// 给 vue 实例挂载内部对象，例如：
Vue.prototype.$XModal = VXETable.modal
Vue.prototype.$XPrint = VXETable.print
Vue.prototype.$XSaveFile = VXETable.saveFile
Vue.prototype.$XReadFile = VXETable.readFile
//配置组件
Vue.component('lottie', lottie)
new Vue({
    render: h => h(App),
    router,
}).$mount('#app')



